| GUI Help > Special > selectedItem | ||||||||||||||
|
selectedItem |
||||||||||||||
| int item=selectedItem(handle gadget) | ||||||||||||||
|
Description: Returns the index of the currently selected item in a listbox or combobox. |
||||||||||||||
|
Return Value: Index of currently selected item or -1 if no item is selected. |
||||||||||||||
| Parameters: | ||||||||||||||
|
||||||||||||||
| Remarks:
|
||||||||||||||
| See Also:
|
||||||||||||||
|
Example: (Note: You will need to include the GUI constants file for this example to work) |